package com.jrx.anytxn.customer.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * ClassName CouponConfig
 *
 * @author zebin.zhang
 * @version 2.0
 * @description 权益配置类、包含活动id等
 * @date 2022/02/08 14:50
 **/
@Component
@ConfigurationProperties(prefix = "coupon.activity")
public class CouponConfig {

    private String newUserActiveSend120YuanActivityId;
    private String newUserSharedConsumeFirstActivityId;
    private String newUserActiveFromFjtravelActivityId;

    //邀新有礼
    private String sharedFirstConsume;
    //通过默认渠道激活
    private String channelMissing;
    //通过其他渠道激活
    private Map<String,String> channels;
    //通过邀新渠道激活
    private String MGM;
    //区分产品发券
    private Map<String, String> productId;


    //不互斥渠道
    private List<String> compatibleChannels;

    public String getSharedFirstConsume() {
        return sharedFirstConsume;
    }

    public void setSharedFirstConsume(String sharedFirstConsume) {
        this.sharedFirstConsume = sharedFirstConsume;
    }

    public String getChannelMissing() {
        return channelMissing;
    }

    public void setChannelMissing(String channelMissing) {
        this.channelMissing = channelMissing;
    }

    public Map<String, String> getChannels() {
        return channels;
    }

    public void setChannels(Map<String, String> channels) {
        this.channels = channels;
    }

    public String getNewUserActiveSend120YuanActivityId() {
        return newUserActiveSend120YuanActivityId;
    }

    public void setNewUserActiveSend120YuanActivityId(String newUserActiveSend120YuanActivityId) {
        this.newUserActiveSend120YuanActivityId = newUserActiveSend120YuanActivityId;
    }

    public String getNewUserSharedConsumeFirstActivityId() {
        return newUserSharedConsumeFirstActivityId;
    }

    public void setNewUserSharedConsumeFirstActivityId(String newUserSharedConsumeFirstActivityId) {
        this.newUserSharedConsumeFirstActivityId = newUserSharedConsumeFirstActivityId;
    }

    public String getNewUserActiveFromFjtravelActivityId() {
        return newUserActiveFromFjtravelActivityId;
    }

    public void setNewUserActiveFromFjtravelActivityId(String newUserActiveFromFjtravelActivityId) {
        this.newUserActiveFromFjtravelActivityId = newUserActiveFromFjtravelActivityId;
    }

    public String getMGM() {
        return MGM;
    }

    public void setMGM(String MGM) {
        this.MGM = MGM;
    }

    public List<String> getCompatibleChannels() {
        return compatibleChannels;
    }

    public void setCompatibleChannels(List<String> compatibleChannels) {
        this.compatibleChannels = compatibleChannels;
    }

    public Map<String, String> getProductId() {
        return productId;
    }

    public void setProductId(Map<String, String> productId) {
        this.productId = productId;
    }
}
